#define  _CRT_SECURE_NO_WARNINGS 1
# include<stdio.h>
int main()
{
	int arr[3], i = 0;
	scanf("%d%d%d", &arr[0],&arr[1],&arr[2]);
	
	for (i = 0; i < 2; i++)
	{
		int j = 0;
		for (j = i + 1; j < 3; j++)
		{
			if (arr[i] < arr[j])
			{
				int num = arr[i];
				arr[i] = arr[j];
				arr[j] = num;
			}
		}
	}
	printf("%d %d %d", arr[0],arr[1],arr[2]);
	
}